/**  
 * All rights Reserved, Designed By <a href="www.itttq.com" target="_blank">www.itttq.com</a>
 * @date:   2017-07-21 11:42:21
 * @Copyright: 2017 <a href="www.itttq.com" target="_blank">www.itttq.com</a> Inc. All rights reserved. 
 */
package com.itttq.gshop.generic.connector;

import java.util.List;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import com.itttq.gshop.domain.po.SysAreaPo;

@FeignClient(name= "${gshop.feign.server.pbpm}/sysArea")
public interface ISysAreaConnector {
	/**
	 * 根据父级ID查询区域信息
	 * 
	 * @param pid	父级ID
	 * @Author 迷蝶
	 * @return List<SysAreaPo>
	 */
	@RequestMapping("{pid}")
	public List<SysAreaPo> getAreasByPid(@PathVariable("pid")int pid);
}